package com.qqtech.qquan.community.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.community.model.CommunityBase;
import com.qqtech.qquan.community.model.CommunityBaseQuery;
import com.qqtech.qquan.community.model.CommunityBaseVo;

public interface CommunityBaseDao extends BaseDao<CommunityBase> {

	Page<CommunityBaseVo> queryDistancePage(CommunityBaseQuery query, Pageable pageable);
	
	List<CommunityBaseVo> queryDistanceList(CommunityBaseQuery query, Pageable pageable);
}
